﻿@using System.Web
@using Coralcode.Adapter.WeChat.Entity.Model
@using Coralcode.Adapter.WeChat.Utils
@using CoralNode.MvcClient.Contexts
@using CoralNode.MvcClient.Contexts.Models.NodePageModels
<!DOCTYPE html>
<html>
<head lang="zh-cn">
    <meta charset="UTF-8">
    <meta name="format-detection" content="telephone=no"/>
    <meta name="msapplication-tap-highlight" content="no"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no"/>
    <title>@CoralNodeContext.Current.Site.Name</title>
</head>
<body>
    @RenderBody()
    <!--javascript-->
    <script src="/s/t.ashx?siteId=@CoralNodeContext.Current.Site.Id&menuId=0&nodeId=@(Model is NodePageModel ? Model.Node.Id : 0)"></script>

    @if (IsSectionDefined("js"))
    {
        @RenderSection("js")
    }
</body>
</html>
